const mongoose = require('mongoose')
const dbUri = process.env.MONGODB_URI
mongoose.connect(dbUri)
  .then(() => console.log('MongoDB 数据库连接成功'))
  .catch(err => console.log('MongoDB 数据库连接失败：', err));

